@function rrem ($args){
  @return ($args/200)+rem
};
.max{
  position: fixed;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.loading-content{
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 101;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate3d(-50%, -50%, 0);
  -webkit-transform: translate3d(-50%, -50%, 0);
  color: #fff;
  -webkit-box-align: center;
  padding: rrem(10) rrem(44);
  min-height: rrem(98);
  background: rgba(0, 0, 0, .6);
  border-radius: rrem(10);
  i {
    animation: spin 6s linear infinite;
    -webkit-animation: spin .9s linear infinite;
    height: rrem(40);
    width: rrem(40);
    border: rrem(4) solid #eee;
    border-bottom-color: transparent;
    border-radius: 100%;
    vertical-align: middle;
  }
  p{
    margin-left:rrem(6);
  }
}

.loading-mask {
  background: rgba(0, 0, 0, 0);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}